﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FlickrMe.shortcut
{
    /*
     * Factory class that returns a ShorcutResolver suitable for the
     * Operating environment.
     */
    class ShortcutResolverFactory
    {
        public static ShortcutResolver getResolver() {

            String os = Environment.OSVersion.VersionString;
            if (os.StartsWith("Microsoft")) {
                return new LnkShortcutResolver();
            } 

            return null;
        }
    }
}
